<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/1/19
  Time: 10:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>Title</title>
</head>

<style type="text/css">
    body {
        background: url(picture/Girlonthestomach.jpg) no-repeat center center fixed;
        /*兼容浏览器版本*/
        -webkit-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
</style>

<body>
<a href="Studentmanagement.jsp"></a>
<table bgcolor="#fff8dc" border="1px">
    <tr>
        <th>ID：</th>
        <th>年级：</th>
        <th>增加：</th>
        <th>修改：</th>
        <th>删除：</th>
    </tr>

    <c:forEach var="user2" items="${users2}" varStatus="vs">
        <tr>
            <td>${user2.id}</td>
            <td>${user2.name}</td>
            <td><a href="add2.jsp">增</a></td>
            <td><a href="up2.jsp">修改</a></td>
            <td><a href="DeleteServlet2?id=${user2.id}">删除</a></td>
                <%--            <td>${vs.first}</td>--%>
                <%--            <td>${vs.last}</td>--%>
                <%--            <td>${vs.count}</td>--%>
                <%--            <td>${vs.index}</td>--%>
        </tr>
    </c:forEach>
</table>
</body>
</html>
